<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>故宫购票系统管理端</title>
    <link rel="stylesheet" href="../css/manage.css">
</head>

<body>
<!-- 查询用户信息 -->
<h2>查询用户信息</h2>
<form id="findUsersForm">
    <label for="option">查询选项：</label>
    <select id="option" required>
        <option value="userid">用户ID</option>
        <option value="username">用户名</option>
        <option value="email">邮箱</option>
        <option value="phone">电话</option>
    </select><br>
    <label for="value">查询值：</label>
    <input type="text" id="value" required><br>
    <input type="submit" value="查询">
    <!-- 添加一个用于显示查询结果的区域 -->
    <div id="queryResult"></div>
</form>


<!-- 查询每日售票数据 -->
<h2>查询每日售票数据</h2>
<form id="getDailySalesStatisticsForm">
    <label for="date">日期：</label>
    <input type="date" id="date" required><br>
    <input type="submit" value="查询">
    <div id="result"></div>
</form>


<!-- 查询区间售票数据 -->
<h2>查询区间售票数据</h2>
<form id="getMonthlySalesStatisticsForm">
    <label for="startDate">开始日期：</label>
    <input type="date" id="startDate" required><br>
    <label for="endDate">结束日期：</label>
    <input type="date" id="endDate" required><br>
    <input type="submit" value="查询">
    <div id="monthresult"></div>
</form>


<!--&lt;!&ndash; 查询每年售票数据 &ndash;&gt;-->
<!--<h2>查询每年售票数据</h2>-->
<!--<form id="getYearlySalesStatisticsForm">-->
<!--    <label for="year">年份：</label>-->
<!--    <input type="number" id="year" required><br>-->
<!--    <input type="submit" value="查询">-->
<!--</form>-->

<!-- 修改门票的数量 -->
<h2>修改门票的数量</h2>
<form id="insertDailyTicketDataForm">
    <label for="type">门票类型：</label>
    <select id="type" required>
        <option value="GATE">大门票</option>
        <option value="EXHIBITION1">展览 1 门票</option>
        <option value="EXHIBITION2">展览 2 门票</option>
        <option value="EXHIBITION1_AND_2">展览 1 和 2 门票</option>
    </select><br>
    <label for="quantity">数量：</label>
    <input type="number" id="quantity" required><br>
    <input type="submit" value="插入">
</form>
<br>
<button onclick="window.location.href='adminlogin.html'">退出登录</button>


</body>
<script src="../js/manage.js"></script>
</html>